using System;
using NodeCanvas.Variables;

namespace NodeCanvas.Conditions
{
	[Obsolete("Use 'Check GameObject' instead")]
	[Category("✫ Blackboard")]
	public class GameObjectIsNull : ConditionTask
	{
		public BBGameObject gameObjectVar = new BBGameObject
		{
			blackboardOnly = true
		};

		protected override string info
		{
			get
			{
				return string.Concat(gameObjectVar, " == null");
			}
		}

		protected override bool OnCheck()
		{
			return gameObjectVar.value == null;
		}
	}
}
